package com.fqxl.labour.service.impl;

import com.fqxl.labour.domain.LabourUploadCard;
import com.fqxl.labour.mapper.UploadCardMapper;
import com.fqxl.labour.service.UploadCardService;
import com.fqxl.labour.untils.R;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UploadCardServiceImpl implements UploadCardService {

    @Autowired
    private UploadCardMapper uploadCardMapper;

    /**
     * 添加身份证
     * @param labourUploadCard
     * @return
     */
    @Override
    public R addUploadCard(LabourUploadCard labourUploadCard) {
        uploadCardMapper.addUploadCard(labourUploadCard);
        return R.ok("添加成功");
    }
}
